package com.mldong.modules.cms.dto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.*;
import com.mldong.validation.Groups;
/**
 * <p>
 * r_栏目扩展
 * </p>
 *
 * @author mldong
 * @since 2022-10-23
 */
@Getter
@Setter
@TableName("cms_category_ext")
@ApiModel(value = "CategoryExtParam对象", description = "r_栏目扩展")
public class CategoryExtParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "栏目id", required = true)
    @TableId(value = "category_id", type = IdType.ASSIGN_ID)
    @NotNull(message = "栏目id不能为空", groups = {Groups.Update.class})
    private Long categoryId;

    @ApiModelProperty(value = "扩展字段1")
    private String ext1;

    @ApiModelProperty(value = "扩展字段2")
    private String ext2;

    @ApiModelProperty(value = "扩展字段3")
    private String ext3;

    @ApiModelProperty(value = "扩展字段4")
    private String ext4;

    @ApiModelProperty(value = "扩展字段5")
    private String ext5;


}
